package com.glacier.yuyuan.modules.admin.sys.domain;

import com.glacier.common.core.domain.TreeEntity;

/**
 * date 2022-11-04 16:52
 * 字典数据
 *
 * @author glacier
 * @version 1.0
 */
public class DictData extends TreeEntity<DictData> {

    private static final long serialVersionUID = -6728504054341838656L;

    /**
     * 编码
     */
    private String code;

    /**
     * 描述
     */
    private String description;

    /**
     * 默认
     */
    private String defaultFlag;

    /**
     * 状态
     */
    private String status;

    /**
     * 字典类型id
     */
    private String typeId;

    /**
     * 字典类型编码
     */
    private String typeCode;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDefaultFlag() {
        return defaultFlag;
    }

    public void setDefaultFlag(String defaultFlag) {
        this.defaultFlag = defaultFlag;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    @Override
    public String toString() {
        return "DictData{" +
                "code='" + code + '\'' +
                ", description='" + description + '\'' +
                ", defaultFlag='" + defaultFlag + '\'' +
                ", status='" + status + '\'' +
                ", typeId='" + typeId + '\'' +
                ", typeCode='" + typeCode + '\'' +
                ", title='" + title + '\'' +
                ", parentId='" + parentId + '\'' +
                ", sort=" + sort +
                ", children=" + children +
                ", parentTitle='" + parentTitle + '\'' +
                ", id='" + id + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                '}';
    }
}

